package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-06-05
 */
@TableName("nb_mkdata")
public class Mkdata extends Model<Mkdata> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_dm")
    private String gDm;
    @TableField("g_date")
    private Date gDate;
    @TableField("g_mk_type")
    private Integer gMkType;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgDm() {
        return gDm;
    }

    public void setgDm(String gDm) {
        this.gDm = gDm;
    }

    public Date getgDate() {
        return gDate;
    }

    public void setgDate(Date gDate) {
        this.gDate = gDate;
    }

    public Integer getgMkType() {
        return gMkType;
    }

    public void setgMkType(Integer gMkType) {
        this.gMkType = gMkType;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Mkdata{" +
        "id=" + id +
        ", gDm=" + gDm +
        ", gDate=" + gDate +
        ", gMkType=" + gMkType +
        "}";
    }
}
